﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class HkcdtBLL:IHkcdtBLL
    {
        public int Add(HkcdtInfo dt)
        {
            return DALFactory.CreateHkcdtDAL().Add(dt);
        }

        public int Update(string dtnum, decimal kn)
        {
            return DALFactory.CreateHkcdtDAL().Update(dtnum, kn);
        }
        public int Del(string dtnum)
        {
            return DALFactory.CreateHkcdtDAL().Del(dtnum);
        }
        public DataSet Select(string dtnum)
        {
            return DALFactory.CreateHkcdtDAL().Select(dtnum);
        }
        public DataSet SelectAll()
        {
            return DALFactory.CreateHkcdtDAL().SelectAll();
        }
        public string KuKC(string cday)
        {
            return DALFactory.CreateHkcdtDAL().KuKC(cday);
        }
    }
}
